package com.itmck.dao;

import com.itmck.domain.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface UserDao {

//    @Select(value = "select * from lc_user")
    List<User> queryMethod();

    void deleteUserById(@Param("id") Long id);

    void updateUserById(@Param("user") User user);

    void addUser(@Param("user") User user);
}